import Vue from 'vue';
import VueRouter from 'vue-router';
import index from '@/components/content/index';
import shop from '@/components/content/shop';
import collection from '@/components/content/collection';
import email from '@/components/content/email';
import personal from '@/components/content/personal';

Vue.use(VueRouter);

export default new VueRouter({
	routes: [
		{
			path: '/index',
			component: index
		},
		{
			path: '/shop',
			component: shop
		},
		{
			path: '/collection',
			component: collection
		},
		{
			path: '/email',
			component: email
		},
		{
			path: '/personal',
			component: personal
		},
		{
			path:'/',
			redirect: '/index'
		}
	]
});